﻿using System;
using System.Windows;
using System.Windows.Controls;

namespace HalconDotNet
{
	// Token: 0x02000017 RID: 23
	public abstract class HDisplayObjectWPF : FrameworkElement, IDisposable
	{
		// Token: 0x0600010A RID: 266 RVA: 0x0000628B File Offset: 0x0000448B
		public HDisplayObjectWPF()
		{
		}

		// Token: 0x0600010B RID: 267
		public abstract void Display(HWindow hWindow);

		// Token: 0x0600010C RID: 268 RVA: 0x00006293 File Offset: 0x00004493
		public void Dispose()
		{
			this.Dispose(true);
			GC.SuppressFinalize(this);
		}

		// Token: 0x0600010D RID: 269 RVA: 0x00005F1B File Offset: 0x0000411B
		protected virtual void Dispose(bool disposing)
		{
			if (!this.disposed)
			{
				this.disposed = true;
			}
		}

		// Token: 0x17000035 RID: 53
		// (get) Token: 0x0600010E RID: 270 RVA: 0x000062A2 File Offset: 0x000044A2
		protected HSmartWindowControlWPF ParentHSmartWindowControlWPF
		{
			get
			{
				return this.ParentItemsControl as HSmartWindowControlWPF;
			}
		}

		// Token: 0x17000036 RID: 54
		// (get) Token: 0x0600010F RID: 271 RVA: 0x000062AF File Offset: 0x000044AF
		internal ItemsControl ParentItemsControl
		{
			get
			{
				return ItemsControl.ItemsControlFromItemContainer(this);
			}
		}

		// Token: 0x04000081 RID: 129
		protected bool disposed;
	}
}
